package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 家教订单对象 tutor_orders
 * 
 * @author ruoyi
 * @date 2024-12-09
 */
public class TutorOrders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单ID */
    private Long id;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNumber;

    /** 教师ID */
    @Excel(name = "教师ID")
    private Long tutorId;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    private String tutorName;

    /** 教师电话 */
    @Excel(name = "教师电话")
    private String tutorPhone;

    /** 家教申请ID */
    @Excel(name = "家教申请ID")
    private Long requestId;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long userId;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String userName;

    /** 学生联系方式 */
    @Excel(name = "学生联系方式")
    private String userPhone;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String status;

    /** 订单总金额 */
    @Excel(name = "订单总金额")
    private BigDecimal totalFee;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 订单备注 */
    @Excel(name = "订单备注")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }
    public void setTutorId(Long tutorId) 
    {
        this.tutorId = tutorId;
    }

    public Long getTutorId() 
    {
        return tutorId;
    }
    public void setTutorName(String tutorName) 
    {
        this.tutorName = tutorName;
    }

    public String getTutorName() 
    {
        return tutorName;
    }
    public void setTutorPhone(String tutorPhone) 
    {
        this.tutorPhone = tutorPhone;
    }

    public String getTutorPhone() 
    {
        return tutorPhone;
    }
    public void setRequestId(Long requestId) 
    {
        this.requestId = requestId;
    }

    public Long getRequestId() 
    {
        return requestId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setTotalFee(BigDecimal totalFee) 
    {
        this.totalFee = totalFee;
    }

    public BigDecimal getTotalFee() 
    {
        return totalFee;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNumber", getOrderNumber())
            .append("tutorId", getTutorId())
            .append("tutorName", getTutorName())
            .append("tutorPhone", getTutorPhone())
            .append("requestId", getRequestId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userPhone", getUserPhone())
            .append("status", getStatus())
            .append("totalFee", getTotalFee())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("createdAt", getCreatedAt())
            .append("remarks", getRemarks())
            .toString();
    }
}
